package com.ws.dao;

import com.ws.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by WS on 2018/1/23.
 */
public interface UserDao {
    List<User> queryUserList(User user);

    Page<User> queryUserPage(@Param("user") User user,Pageable pageable);

    void insertUser(User user);
}
